package cn.byapps.attendance.util;

import java.util.List;

public class Pagers<T> {
	private List<T> lists;
	private int curPage;// // 当前页
	private int pageCount;// 当前页数量
	private int countAll;//  所有数据

	public Pagers() {
		super();
	}

	// ��ҳʱʹ��
	public Pagers(List<T> lists, int curPage, int pageCount) {
		super();
		this.lists = lists;
		this.curPage = curPage;
		this.pageCount = pageCount;
	}

	public List<T> getLists() {
		return lists;
	}

	public void setLists(List<T> lists) {
		this.lists = lists;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public int getCountAll() {
		return countAll;
	}

	public void setCountAll(int countAll) {
		this.countAll = countAll;
	}

	@Override
	public String toString() {
		return "Pager [lists=" + lists + ", curPage=" + curPage + ", pageCount=" + pageCount + ", countAll=" + countAll
				+ "]";
	}

}
